<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		ul{
			list-style: none;
			width: 600px;
			border: 1px solid #000;
			margin: 100px auto;
			/* overflow: hidden; */
			
			display: flex;
		
		}
		ul>li{
			width: 100px;
			height: 100px;
			line-height: 100px;
			text-align: center;
			font-size: 30px;
		/* 	display: inline-block; */
			/* float: left; */

			
		}
		ul>li:nth-child(1){
			background-color: red;
		}
		
		ul>li:nth-child(2){
			background-color: green;
		}
		
		ul>li:nth-child(3){
			background-color: blue;
		}
		
		
	</style>
	</head>
	<body>
		
		<ul>
			<li>1</li>
			<li>2</li>
			<li>3</li>
		</ul>
		
	</body>
</html>